'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	const {userId,labelListIds} = event
	
	await db.collection("user").doc(userId).update({
		labelList_likes_ids:labelListIds
	})
	
	
	//返回数据给客户端
	return {
		code:0,
		data:{
			msg:"编辑成功"
		}
		
	}
};
